package com.dzqc.fly.service.impl;


import com.dzqc.fly.db.dao.FlyDao;
import com.dzqc.fly.db.pojo.CollegePojo;
import com.dzqc.fly.db.pojo.PcUserPojo;
import com.dzqc.fly.db.pojo.SecretarySumPojo;
import com.dzqc.fly.service.FlyService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


@Service
public class FlyServiceImpl implements FlyService {

    @Autowired
    private FlyDao flyDao;


    @Override
    public List<SecretarySumPojo> queryCname(Integer sno) {
        List<SecretarySumPojo> classPo=flyDao.queryCname(sno);
        System.out.println(classPo);
        return classPo;
    }

    @Override
    public List<SecretarySumPojo> queryColname(Integer sno) {
        List<SecretarySumPojo> classPo=flyDao.queryColname(sno);
        System.out.println(classPo);
        return classPo;
    }

  /*  @Override
    public CollegePojo queryFdyid(String sno, String password) {
        CollegePojo userPo=flyDao.queryFdyid(sno, password);
        return userPo;
    }*/


}
